package com.house.service.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.house.model.entity.InformationRecord;
import com.house.model.vo.MessageVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface InformationRecordMapper extends BaseMapper<InformationRecord> {
    List<MessageVO> selectListByUserId(@Param("sendUserId") String sendUserId,@Param("gatherUserId") String userId);

    void updateStates(@Param("gatherUserId") String userId,@Param("sendUserId") String sendUserId);

}
